home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / tcpdump.postinst < prev    next >
Text File  |  2009-08-13  |  258b  |  11 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = "configure" ]; then
  4.     # Reload AppArmor profile
  5.     APP_PROFILE="/etc/apparmor.d/usr.sbin.tcpdump"
  6.     if [ -f "$APP_PROFILE" ] && aa-status --enabled 2>/dev/null; then
  7.         apparmor_parser -r "$APP_PROFILE" || true
  8.     fi
  9. fi
  10.  
  11.